chore(ci): phase out aws-sdk
usage
#1405
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of your changes
As described in the linked issue, this PR reduces the reliance on the soon-to-be-put-in-maintenance-mode
aws-sdk
(v2). The PR swaps its usage for the more modular AWS SDK v3 for JavaScript wherever possible.The repo still has
aws-sdk
as dev dependency, however this has now been moved from the root level and placed in thepackages/tracer
package since it's now the only utility that requires this version of the SDK to support thetracer.captureAWS
andtracer.captureAWSClient
methods. The SDK is only used as dev dependency to provide IDE support for the integration test functions.To validate the changes, see the unit tests below this PR as well as the successful result of this e2e test run.
Once merged this PR will close #1404.
Related issues, RFCs
Issue number: #1404
Checklist
Breaking change checklist
Is it a breaking change?: NO
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.